<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>上传文件</title>
  </head>
  <body>
    <form action="/upload" enctype="multipart/form-data" method="POST">
      <input type="file" name="file" id="" accept="image/png" />
      <input type="file" name="file" id="" accept=".png" />
      <input type="file" name="file" id="" accept=".png,.jpg,.jpeg" />
      <input type="file" name="file" id="" accept="image/png,image/jpeg" />
      <input type="file" name="file" id="" accept="image/*" />
      <button type="submit">上传文件</button>
    </form>
  </body>
</html>
